package com.loveedu.Interceptor;

import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;

/**
 * Created by Administrator on 2018-5-26.
 */
public class FastJsonHttpMessageConverterEx extends FastJsonHttpMessageConverter {

    public FastJsonHttpMessageConverterEx() {
        super();
        this.getFastJsonConfig().getSerializeConfig().put(Json.class, SwaggerJsonSerializer.instance);
    }

}